﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace NFit.Core.Fixtures
{
    /// <summary>
    /// Base class for setup fixture
    /// </summary>
    public abstract class SetupFixture : TableFixture
    {
        /// <summary>
        /// Method called after running the row
        /// </summary>
        protected override void AfterRun()
        {
            base.AfterRun();
            Setup();
        }

        /// <summary>
        /// Method called to trigger the setup
        /// </summary>
        protected abstract void Setup();
    }
}
